package com.sqlsession.filter;

public interface DbFilter {


    default boolean filterTable(String tableName) {
        return true;
    }

    default boolean filterColumn(String tableName, String columnName) {
        return true;
    }

    static DbFilter filter(DbFilter filter) {
        return filter == null ? new DbFilter() { } : filter;
    }
}
